From: Marco Trevisan (TreviƱo) Date: Wed, 2 Oct 2019 20:41:04 +0000 (+0200) Subject: st/scroll-view: Remove container foreach vfunc X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~549 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b4128967a1f75736b11b5afc1e98e171659b8e80;p=gnome-shell.git st/scroll-view: Remove container foreach vfunc foreach_with_internals vfunc is deprecated for long time and not used anymore, so remove it Related to: https://gitlab.gnome.org/GNOME/mutter/merge_requests/816 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/747 --- diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c index 72f8900be..7f7d4f51c 100644 --- a/src/st/st-scroll-view.c +++ b/src/st/st-scroll-view.c @@ -963,23 +963,6 @@ st_scroll_view_remove (ClutterContainer *container, } } -static void -st_scroll_view_foreach_with_internals (ClutterContainer *container, - ClutterCallback callback, - gpointer user_data) -{ - StScrollViewPrivate *priv = ST_SCROLL_VIEW (container)->priv; - - if (priv->child != NULL) - callback (priv->child, user_data); - - if (priv->hscroll != NULL) - callback (priv->hscroll, user_data); - - if (priv->vscroll != NULL) - callback (priv->vscroll, user_data); -} - static void clutter_container_iface_init (ClutterContainerIface *iface) { @@ -991,7 +974,6 @@ clutter_container_iface_init (ClutterContainerIface *iface) iface->add = st_scroll_view_add; iface->remove = st_scroll_view_remove; - iface->foreach_with_internals = st_scroll_view_foreach_with_internals; } StWidget *